import type { App } from "vue";
import { ControlType, registerControlProvider } from "@ibiz-template/runtime";
import IBizListControl from "./i-biz-list-control.vue";
import { ListProvider } from "./i-biz-list-control.provider";

export const IBizList = {
  install(v: App) {
    v.component("IBizListControl", IBizListControl);
    registerControlProvider(ControlType.LIST, () => new ListProvider());
  },
};
